package de.justphil.tcg.tcgserver.commons.domain.wrappers;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@XmlAccessorType(XmlAccessType.NONE)
public class NewGameRes {
	
	@XmlElement
	private long gameId;
	
	@XmlElement
	private String wsUri;
	
	@XmlElement
	private String playerOtp;
	
	
	public NewGameRes() {
		// JAXB conformity
	}
	
	public NewGameRes(long gameId, String wsUri, String playerOtp) {
		super();
		this.gameId = gameId;
		this.wsUri = wsUri;
		this.playerOtp = playerOtp;
	}

	public long getGameId() {
		return gameId;
	}


	public String getWsUri() {
		return wsUri;
	}

	public String getPlayerOneTimePassword() {
		return playerOtp;
	}
	
}
